package com.linkwechat.common.dto.qw;

import lombok.Data;

import java.util.List;

/**
 * @Author 王君平
 * @Date 2024/5/29 15:11
 * @Description  机器人发送消息   图文类的
 * https://developer.work.weixin.qq.com/document/path/99110
 */
@Data
public class RobotNewsDTO {
    private String msgtype = "news";
    private news news;

    @Data
    public static class news {
        private List<article> articles;
    }

    @Data
    public static class article {
        private String title;
        private String description;
        private String url;
        private String picurl;
    }
}
